def deploySecret(nameSpaces,projectArtifactId) {
    sh "kubectl get secret -n $nameSpaces |grep $projectArtifactId-jvm-certificate|awk '{print \$1}'|xargs -I {} kubectl delete secret {} -n $nameSpaces"
    sh "kubectl create secret generic $projectArtifactId-jvm-certificate --from-file=extend-config/cacerts -n $nameSpaces"
}